<script>
	import  {mapState} from "vuex"
	export default {
		onLaunch: function() {
			
		},
		onShow: function() {
			// console.log('App Show')
			if(JSON.stringify(this.list)==="{}"){
				uni.navigateTo({
					url:"/pages/login/login"
				})
			}
		},
		onHide: function() {
			console.log('App Hide')
		},
		computed:{
			...mapState({
				list:state=>state.user.list
			})
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
